You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clValue Structure > clValue Methods > ThresholdGT Method > clValue.ThresholdGT Method ([In] TOpenCLValue, double, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clValue.ThresholdGT Method ([In] TOpenCLValue, double, double)

Threshold greater than operation.

Syntax
C#
Visual Basic
public TOpenCLValue ThresholdGT([In] TOpenCLValue Vec, double GTLevel, double GTValue);

Perform operation on Vec object value. The GTValue parameter is an upper bound for threshold operation. Value bigger than LTLevel will be replaced with GTValue. For a complex number the comparison is applied with the norm of the complex value.

var a: clValue; begin b.Copy(2); a.ThresholdGT(b, 1.3,1.5); // a = [1.5] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!